package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.SUBMIT_FEED_BACK_DC;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;

import java.util.ArrayList;


public class SubmitFeedBackDcApi implements IRequestApi, IRequestType {


    private ResSubmitFeedBackDcBean overripe;

    public SubmitFeedBackDcApi(ResSubmitFeedBackDcBean overripe) {
        this.overripe = overripe;
    }

    @NonNull
    @Override
    public String getApi() {
        return SUBMIT_FEED_BACK_DC;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ResSubmitFeedBackDcBean {
        private ArrayList<String> esculent;
        private String thorough;

        private ArrayList<String> outgo;

        public void setEsculent(ArrayList<String> esculent) {
            this.esculent = esculent;
        }

        public void setThorough(String thorough) {
            this.thorough = thorough;
        }

        public void setOutgo(ArrayList<String> outgo) {
            this.outgo = outgo;
        }
    }

}

